package com.example.hackotontest.dto;

import java.io.Serializable;

/**
 * DTO Used to send the participant name, userStoryText and the story point
 * 
 */
public class UserStoryDto implements Serializable {

	private String participantName;
	private String userStoryText;
	private int storyPoint;

	public UserStoryDto(String participantName, String userStoryText, int storyPoint) {
		this.participantName = participantName;
		this.userStoryText = userStoryText;
		this.storyPoint = storyPoint;
	}

	public String getParticipantName() {
		return participantName;
	}

	public String getUserStoryText() {
		return userStoryText;
	}

	public int getStoryPoint() {
		return storyPoint;
	}

	@Override
	public String toString() {
		return "UserStoryDto [participantName=" + participantName + ", userStoryText=" + userStoryText + ", storyPoint=" + storyPoint + "]";
	}
}
